package aos.ydksxt.dao;

import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 * Created by stiofan on 2017/1/31.
 */
@Entity
@Table(name = "DJ_FCSYQDJXX")
public class DjFcsyqdjxx {
    private String fcsyquuid;
    private String fcsyrlxDm;
    private String fcsyqZsbh;
    private Date fcsyqQsrq;
    private Date fcsyqZzrq;
    private Date fcsyqQdrq;
    private String lrrDm;
    private Timestamp lrrq;
    private String xgrDm;
    private Timestamp xgrq;
    private String ssglyDm;
    private String sjgsdq;
    private String yxbz;
    private String fcbh;
    private BigDecimal djxh;
    private BigDecimal fcsyqYsmj;
    private BigDecimal fcsyqMsmj;
    private String zfrDm;
    private Timestamp zfrq;
    private String zfyy;
    private String fcsyqlxDm;
    private String fcytDm;
    private BigDecimal fcsyqYsje;
    private BigDecimal fcsyqMsje;
    private BigDecimal fcsyqYzje;
    private String fcsyqJmxz;

    @Id
    @Column(name = "FCSYQUUID", nullable = false, length = 32)
    public String getFcsyquuid() {
        return fcsyquuid;
    }

    public void setFcsyquuid(String fcsyquuid) {
        this.fcsyquuid = fcsyquuid;
    }

    @Basic
    @Column(name = "FCSYRLX_DM", nullable = true, length = 2)
    public String getFcsyrlxDm() {
        return fcsyrlxDm;
    }

    public void setFcsyrlxDm(String fcsyrlxDm) {
        this.fcsyrlxDm = fcsyrlxDm;
    }

    @Basic
    @Column(name = "FCSYQ_ZSBH", nullable = true, length = 20)
    public String getFcsyqZsbh() {
        return fcsyqZsbh;
    }

    public void setFcsyqZsbh(String fcsyqZsbh) {
        this.fcsyqZsbh = fcsyqZsbh;
    }

    @Basic
    @Column(name = "FCSYQ_QSRQ", nullable = true)
    public Date getFcsyqQsrq() {
        return fcsyqQsrq;
    }

    public void setFcsyqQsrq(Date fcsyqQsrq) {
        this.fcsyqQsrq = fcsyqQsrq;
    }

    @Basic
    @Column(name = "FCSYQ_ZZRQ", nullable = true)
    public Date getFcsyqZzrq() {
        return fcsyqZzrq;
    }

    public void setFcsyqZzrq(Date fcsyqZzrq) {
        this.fcsyqZzrq = fcsyqZzrq;
    }

    @Basic
    @Column(name = "FCSYQ_QDRQ", nullable = true)
    public Date getFcsyqQdrq() {
        return fcsyqQdrq;
    }

    public void setFcsyqQdrq(Date fcsyqQdrq) {
        this.fcsyqQdrq = fcsyqQdrq;
    }

    @Basic
    @Column(name = "LRR_DM", nullable = true, length = 11)
    public String getLrrDm() {
        return lrrDm;
    }

    public void setLrrDm(String lrrDm) {
        this.lrrDm = lrrDm;
    }

    @Basic
    @Column(name = "LRRQ", nullable = true)
    public Timestamp getLrrq() {
        return lrrq;
    }

    public void setLrrq(Timestamp lrrq) {
        this.lrrq = lrrq;
    }

    @Basic
    @Column(name = "XGR_DM", nullable = true, length = 11)
    public String getXgrDm() {
        return xgrDm;
    }

    public void setXgrDm(String xgrDm) {
        this.xgrDm = xgrDm;
    }

    @Basic
    @Column(name = "XGRQ", nullable = true)
    public Timestamp getXgrq() {
        return xgrq;
    }

    public void setXgrq(Timestamp xgrq) {
        this.xgrq = xgrq;
    }

    @Basic
    @Column(name = "SSGLY_DM", nullable = true, length = 11)
    public String getSsglyDm() {
        return ssglyDm;
    }

    public void setSsglyDm(String ssglyDm) {
        this.ssglyDm = ssglyDm;
    }

    @Basic
    @Column(name = "SJGSDQ", nullable = true, length = 11)
    public String getSjgsdq() {
        return sjgsdq;
    }

    public void setSjgsdq(String sjgsdq) {
        this.sjgsdq = sjgsdq;
    }

    @Basic
    @Column(name = "YXBZ", nullable = true, length = 1)
    public String getYxbz() {
        return yxbz;
    }

    public void setYxbz(String yxbz) {
        this.yxbz = yxbz;
    }

    @Basic
    @Column(name = "FCBH", nullable = true, length = 32)
    public String getFcbh() {
        return fcbh;
    }

    public void setFcbh(String fcbh) {
        this.fcbh = fcbh;
    }

    @Basic
    @Column(name = "DJXH", nullable = true, precision = 0)
    public BigDecimal getDjxh() {
        return djxh;
    }

    public void setDjxh(BigDecimal djxh) {
        this.djxh = djxh;
    }

    @Basic
    @Column(name = "FCSYQ_YSMJ", nullable = true, precision = 2)
    public BigDecimal getFcsyqYsmj() {
        return fcsyqYsmj;
    }

    public void setFcsyqYsmj(BigDecimal fcsyqYsmj) {
        this.fcsyqYsmj = fcsyqYsmj;
    }

    @Basic
    @Column(name = "FCSYQ_MSMJ", nullable = true, precision = 2)
    public BigDecimal getFcsyqMsmj() {
        return fcsyqMsmj;
    }

    public void setFcsyqMsmj(BigDecimal fcsyqMsmj) {
        this.fcsyqMsmj = fcsyqMsmj;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        DjFcsyqdjxx that = (DjFcsyqdjxx) o;

        if (fcsyquuid != null ? !fcsyquuid.equals(that.fcsyquuid) : that.fcsyquuid != null) return false;
        if (fcsyrlxDm != null ? !fcsyrlxDm.equals(that.fcsyrlxDm) : that.fcsyrlxDm != null) return false;
        if (fcsyqZsbh != null ? !fcsyqZsbh.equals(that.fcsyqZsbh) : that.fcsyqZsbh != null) return false;
        if (fcsyqQsrq != null ? !fcsyqQsrq.equals(that.fcsyqQsrq) : that.fcsyqQsrq != null) return false;
        if (fcsyqZzrq != null ? !fcsyqZzrq.equals(that.fcsyqZzrq) : that.fcsyqZzrq != null) return false;
        if (fcsyqQdrq != null ? !fcsyqQdrq.equals(that.fcsyqQdrq) : that.fcsyqQdrq != null) return false;
        if (lrrDm != null ? !lrrDm.equals(that.lrrDm) : that.lrrDm != null) return false;
        if (lrrq != null ? !lrrq.equals(that.lrrq) : that.lrrq != null) return false;
        if (xgrDm != null ? !xgrDm.equals(that.xgrDm) : that.xgrDm != null) return false;
        if (xgrq != null ? !xgrq.equals(that.xgrq) : that.xgrq != null) return false;
        if (ssglyDm != null ? !ssglyDm.equals(that.ssglyDm) : that.ssglyDm != null) return false;
        if (sjgsdq != null ? !sjgsdq.equals(that.sjgsdq) : that.sjgsdq != null) return false;
        if (yxbz != null ? !yxbz.equals(that.yxbz) : that.yxbz != null) return false;
        if (fcbh != null ? !fcbh.equals(that.fcbh) : that.fcbh != null) return false;
        if (djxh != null ? !djxh.equals(that.djxh) : that.djxh != null) return false;
        if (fcsyqYsmj != null ? !fcsyqYsmj.equals(that.fcsyqYsmj) : that.fcsyqYsmj != null) return false;
        if (fcsyqMsmj != null ? !fcsyqMsmj.equals(that.fcsyqMsmj) : that.fcsyqMsmj != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = fcsyquuid != null ? fcsyquuid.hashCode() : 0;
        result = 31 * result + (fcsyrlxDm != null ? fcsyrlxDm.hashCode() : 0);
        result = 31 * result + (fcsyqZsbh != null ? fcsyqZsbh.hashCode() : 0);
        result = 31 * result + (fcsyqQsrq != null ? fcsyqQsrq.hashCode() : 0);
        result = 31 * result + (fcsyqZzrq != null ? fcsyqZzrq.hashCode() : 0);
        result = 31 * result + (fcsyqQdrq != null ? fcsyqQdrq.hashCode() : 0);
        result = 31 * result + (lrrDm != null ? lrrDm.hashCode() : 0);
        result = 31 * result + (lrrq != null ? lrrq.hashCode() : 0);
        result = 31 * result + (xgrDm != null ? xgrDm.hashCode() : 0);
        result = 31 * result + (xgrq != null ? xgrq.hashCode() : 0);
        result = 31 * result + (ssglyDm != null ? ssglyDm.hashCode() : 0);
        result = 31 * result + (sjgsdq != null ? sjgsdq.hashCode() : 0);
        result = 31 * result + (yxbz != null ? yxbz.hashCode() : 0);
        result = 31 * result + (fcbh != null ? fcbh.hashCode() : 0);
        result = 31 * result + (djxh != null ? djxh.hashCode() : 0);
        result = 31 * result + (fcsyqYsmj != null ? fcsyqYsmj.hashCode() : 0);
        result = 31 * result + (fcsyqMsmj != null ? fcsyqMsmj.hashCode() : 0);
        return result;
    }

    @Basic
    @Column(name = "ZFR_DM", nullable = true, length = 11)
    public String getZfrDm() {
        return zfrDm;
    }

    public void setZfrDm(String zfrDm) {
        this.zfrDm = zfrDm;
    }

    @Basic
    @Column(name = "ZFRQ", nullable = true)
    public Timestamp getZfrq() {
        return zfrq;
    }

    public void setZfrq(Timestamp zfrq) {
        this.zfrq = zfrq;
    }

    @Basic
    @Column(name = "ZFYY", nullable = true, length = 300)
    public String getZfyy() {
        return zfyy;
    }

    public void setZfyy(String zfyy) {
        this.zfyy = zfyy;
    }

    @Basic
    @Column(name = "FCSYQLX_DM", nullable = true, length = 2)
    public String getFcsyqlxDm() {
        return fcsyqlxDm;
    }

    public void setFcsyqlxDm(String fcsyqlxDm) {
        this.fcsyqlxDm = fcsyqlxDm;
    }

    @Basic
    @Column(name = "FCYT_DM", nullable = true, length = 2)
    public String getFcytDm() {
        return fcytDm;
    }

    public void setFcytDm(String fcytDm) {
        this.fcytDm = fcytDm;
    }

    @Basic
    @Column(name = "FCSYQ_YSJE", nullable = true, precision = 2)
    public BigDecimal getFcsyqYsje() {
        return fcsyqYsje;
    }

    public void setFcsyqYsje(BigDecimal fcsyqYsje) {
        this.fcsyqYsje = fcsyqYsje;
    }

    @Basic
    @Column(name = "FCSYQ_MSJE", nullable = true, precision = 2)
    public BigDecimal getFcsyqMsje() {
        return fcsyqMsje;
    }

    public void setFcsyqMsje(BigDecimal fcsyqMsje) {
        this.fcsyqMsje = fcsyqMsje;
    }

    @Basic
    @Column(name = "FCSYQ_YZJE", nullable = true, precision = 2)
    public BigDecimal getFcsyqYzje() {
        return fcsyqYzje;
    }

    public void setFcsyqYzje(BigDecimal fcsyqYzje) {
        this.fcsyqYzje = fcsyqYzje;
    }

    @Basic
    @Column(name = "FCSYQ_JMXZ", nullable = true, length = 2)
    public String getFcsyqJmxz() {
        return fcsyqJmxz;
    }

    public void setFcsyqJmxz(String fcsyqJmxz) {
        this.fcsyqJmxz = fcsyqJmxz;
    }
}
